﻿@model dsacbasic.Models.SearchInfo
<div class="searchBar">
    分类：<select id="searchCate">
        <option value="-1"></option>
        @{foreach (var cate in Model.Cates)
          {
              if (Model.CurrentCate == cate.ID)
              {
            <option selected="selected" value="@cate.ID">@cate.Name</option>
              }
              else
              {
            <option value="@cate.ID">@cate.Name</option>
              }
          }
        }
    </select>
    关键字：<input type="text" id="searchText" value="@Model.Keyword" />
    <input type="button" id="searchBtn" value="搜索" />
</div>
